This page last changed on Apr 18, 2005 by rossmason.

Deploying Mule to JBoss

The following describes how to deploy the Mule JCA Resource Adapter JBoss application server allowing EJBs to send and receive Mule events and how to configure Mule to use JBoss MQ.

TODO

JBoss MQ Configuration

To configure a JBoss Jms connector for Mule use the following -

<connector name="jmsConnector" className="org.mule.providers.jms.JmsConnector">
    <properties>
        <property name="jndiInitialFactory"
          value="org.jnp.interfaces.NamingContextFactory"/>
       <property name="jndiProviderUrl" value="jnp://localhost/"/>
       <property name="connectionFactoryJndiName" value="java:/ConnectionFactory"/>
    </properties>
</connector>

Any provider-specific properties can be passed to the InitialContext for this connector using the jndiProviderProperties attribute. Use connectionFactoryProperties to set JBoss-specific properties on the ConnectionFactory.

Connection Credentials

If you use user creditials to connect to JBossMQ make sure that the user has the 'guest' role assigned to it. This will ensure that there are no issues if Temporary Topics or Queues (i.e. in RemoteSync calls) are used.

Document generated by Confluence on Nov 27, 2006 10:27